body{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
}
main{
    flex: 1;
    overflow-y: scroll;
}
.topBox{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 5rem;
    font-size: 1.6rem;
    color: #9a9a9a;
    border-bottom: .3rem solid #ddd;
}
.keCheng{
    font-weight: bold;
    color: #4294ff;
    border-bottom: 0.3rem solid #4294ff;
    line-height: 4.6rem;
}

/* 1.最新课程大盒子 */
.one{
    width: 100%;
    height: 26rem;
    margin-bottom: 1rem;
}
.topText{
    padding-left: 1.5rem;
    width: 100%;
    height: 5rem;
    color: #101010;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 5rem;
}
.butBox{
    width: 38.5rem;
    height: 21rem;
    margin: auto;
    background: thistle;
    border-radius: 1.5rem;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.imgBox{
    width: auto;
    height: 15rem;
    background: #e8e8e8;
}
.imgBox img{
    width: 38.5rem;
    height: 15rem;
}


.textBox{
    width: auto;
    height: 6rem;
    background: #fff;
}
.textTop{
    padding: .5rem 1rem;
    font-size: 1.6rem;
    color: #101010;
    font-family: '黑体';
}
.textBut{
    font-size: 1.2rem;
    color: #9a9a9a;
    padding: .5rem 1rem;
    /* 单行溢出隐藏 */
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}




.two{
    margin: auto;
    width: 38.5rem;
    height: 15rem;
}

.topText2{
    padding-left: 1.5rem;
    width: 100%;
    height: 4rem;
    color: #101010;
    background: #fff;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 5rem;

}
.boxBut{
    overflow: hidden;
    position: relative;
    width: 38.5rem;
    height: 14rem;
    border-radius: 1.5rem;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
    /* box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
    background: url('../img/course-img05.jpg') no-repeat;
    background-size: 100%;
    background-position-y: -12rem; */
}
.boxBut img{
    width: 38.5rem;
    height: 14rem;

}


.textOne{
    position: absolute;
    left: 0;
    top: 0;
    padding: 6rem 0 0 2rem;
    font-size: 2rem;
    color: #fff;
    font-family: '黑体';
}
.textTwo{
    position: absolute;
    left: 0;
    top: 9rem;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    color: #fff;
    /* 单行溢出隐藏 */
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}


.BoxMax{
    margin: 2rem 0;
}
.boxBut2{
    margin: auto;
    width: 38.5rem;
    height: 14rem;
    background: #e8e8e8;
    border-radius: 1.5rem;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
}
.textOne2{
    padding: 6rem 0 0 2rem;
    font-size: 2rem;
    color: #101010;
    font-family: '黑体';
}
.textTwo2{
    padding: 1rem 2rem;
    font-size: 1.4rem;
    color: #101010;
}





.list{
    margin-top: 2rem;
}
.item{
    margin: auto;
    position: relative;
    width: 90%;
    height: 14rem;
    border-radius: 1.5rem;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, .4);
    margin: 2rem auto;
}
.item-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14rem;

}
.item-img img{
    width: 100%;
    height: 14rem;
    border-radius: 1.5rem;

}
.item-title{
    position: absolute;
    top: 5.6rem;
    left: 2rem;
    font-size: 2rem;
    height: 3rem;
    width: calc(100% -2rem);
    line-height: 3rem;
    color: #fff;
}
.item-msg{
    position: absolute;
    top: 9rem;
    left: 2rem;
    font-size: 1.4rem;
    height: 3rem;
    width: calc(100% -2rem);
    line-height: 3rem;
    color: #fff;
     /* 单行溢出隐藏 */
     overflow: hidden;
     text-overflow:ellipsis;
     white-space: nowrap;
}

.list p{
    margin-left: 2rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: black;
}














/* 页脚 */
footer{
    width: 100%;
    height: 7rem;
    background: #fff;
    display: flex;
    justify-content: space-around;
}
.sy i{
    font-size: 4rem;
    text-align: center;
    line-height: 5rem;
    color: #8A8A8A;
}
.yd i{
    font-size: 4rem;
    text-align: center;
    color: #4294ff;
}
.yd{
    margin-top: .3rem;
}
.wd{
    margin-top: .2rem;
}
.wd i{
    font-size: 4rem;
    text-align: center;
    color: #8A8A8A;
}
.syText{
    font-size: 1.4rem;
    text-align: center;
    font-weight: bold;
    color: #8A8A8A;
}
.ydText{
    font-size: 1.4rem;
    text-align: center;
    font-weight: bold;
    color: #4294ff;
}
.wdText{
    font-size: 1.4rem;
    text-align: center;
    font-weight: bold;
    color: #8A8A8A;
}